﻿using MT.Common;
using MT.Core;
using MT.Models.Entity;
using MT.Models.Enumerate;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MT.DAL.Abstract.UserCenter
{
 public interface IUserLogService
    {
        Task CreateLoginLogAsync(UserLoginLog userLoginLog);

        Task CreateUserOperateLogAsync(UserOperateLog userOperateLog);

        Task CreateUserOperateLogAsync(string clientTypeDic, string ip, ModelTypeEnum modelTypeEnum,
            OperateTypeEnum operateTypeEnum, int userId, string operateContent, string operateIds);
        Task<PageModel<UserLoginLog>> GetrLoginLogPageAsync(int pageIndex, int pageSize, string name, DateTime? startTime, DateTime? endTeime);
        Task<PageModel<UserOperateLog>> GetOperateLogPageAsync(int pageIndex, int pageSize, string name, DateTime? startTime, DateTime? endTeime);

    }
}
